﻿package java_45;

public class penguin {
	String name="无名氏";
	int health=100;
	int love =0;

	static final String SWX_MALE="Q仔";
	static final String SWX_FEMALE="Q妹";
	 String sex=SEX_MALE;
	public void print(){
		System.out.println("宠物的自白:\n我的名字是:" + this.name 
				 +"健康值" + this.health + "和主人的亲密度是" + 
		this.love + "我是一只" + this.sex);
	}
}
